<?php require_once("fonctions.php")
?>

<!DOCTYPE html>
<html>
    <head>
        <title></title>
        <script type="application/javascript" src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
        <script type="application/javascript" src="js/phaser.min.js" ></script>
        <script type="application/javascript" src="js/game.js"></script>
        <style>
            * {
                -webkit-user-select: none;  /* Chrome all / Safari all */
                -moz-user-select: none;     /* Firefox all */
                -ms-user-select: none;      /* IE 10+ */

                /* No support for these yet, use at own risk */
                -o-user-select: none;
                user-select: none;
            }
        </style>
    </head>
    <body>
        <table>
            <tr>
                <td>
                    <div id="total" />
                </td>
                <td>
                    <table>
                        <tr>
                            <td colspan="2">
                                <center> <b>Space flappy shrimp bubble ninja blob 2048 X-Alpha Turbo Edition</b></center>
                                <br />
                                <br />
                                2048 AD. The universe surface has been annihilated by some monstrous space flappy bubbles from outer space.
                                From beneath the surface, our only hope, Ninja Blobby, master of the Shrimp Vo Dao, sets out to right the wrong, IN STYLE!
                                See him flailing his arms like CRAZAY, and launch his f****ing holy shrimps.
                                Now you must defeat all the flappy bubbles to save the UNITED SHRIMPS OF AMERICA !
                                <hr />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <h1>Your score :</h1>
                            </td>
                            <td>
                                <h1><div id="score" /></h1>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <h1>Your best :</h1>
                            </td>
                            <td>
                                <h1><div id="best" /></h1>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <h1>Number of fired crevettes :</h1>
                            </td>
                            <td>
                                <h1><div id="crevetteCount" /></h1>

                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <div id="highScore">
                                <h1>
                                    <?php
                                    $resultat = recupScore();
                                    echo("The Shrimp Vo Dao Master is ".$resultat[0]." with ".$resultat[1]. " points !")
                                    ?>
                                </h1>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" align="center"/>
                            <a id="shareOnTwitter" href="https://twitter.com/home?status=I%20just%20beat%20ZZZ%20flappy%20bublles%20at%20Space%20flappy%20shrimp%20bubble%20ninja%20blob%202048%20X-Alpha%20Turbo%20Edition%20!%20papelou.fr/LD29%20%23LD29">Share your best score on Twitter</a>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <hr />
                                Controls :
                                <br /><br />
                                Left - Right : You go left or right !! (Really ?)
                                <br />
                                Up : Jump
                                <br />
                                Left mouse click : Fire a shrimp
                                <hr />
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                Created by Paul Fournier (<a href="http://papelou.fr">blog</a> - <a href="https://soundcloud.com/papelou">Soundcloud</a>), Olivier Augereau (<a href="http://www.olivier-augereau.com/">homepage</a> - <a href="https://soundcloud.com/olivier-music">Soundcloud</a>) and Matthieu Verley (<a href="http://www.mattverley.com/">homepage</a>) for Ludum Dare 29.
                                <br />
                                <br />
                                Many thanks to <a href="http://motion-twin.fr/">Motion Twin</a> and Jean-Baptiste Henry for their support !

                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </body>
</html>